package me.sealer.jmx.mbean;

/**
 * @author sealer
 * @date 2018/01/19.
 */
public class Hello implements HelloMBean {
    private String name;
    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void printHello() {
        System.out.println("Hello, " + this.name);
    }

    @Override
    public void printHello(String theName) {
        System.out.println("Hello, " + theName);
    }
}
